<template>
    <el-config-provider :locale="language">
        <router-view></router-view>
    </el-config-provider>
</template>
<script setup lang="ts">
import { ElConfigProvider } from "element-plus";
import zhCn from 'element-plus/lib/locale/lang/zh-cn'
import {onMounted, ref} from 'vue';

const language=ref(zhCn)
onMounted(()=>{
    // 屏蔽 浏览器菜单
    window.oncontextmenu=(event)=>{
        event.returnValue = false;
        return false;
    }
})
</script>